package cate.game.role.res.worldtree.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBWorldTree;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "添加英雄共享 の 返回")
public class HeroShareAddResp implements MsgOutput {

    @NoteField(value = "共享英雄位置d")
    public int pos;

    @NoteField(value = "共享英雄唯一id")
    public String heroUid;

    public HeroShareAddResp(){}

    public HeroShareAddResp(String heroUid, int pos) {
        this.heroUid = heroUid;
        this.pos = pos;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBWorldTree.ADD_SHARE_RESP;
    }
}
